.class final Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$3;
.super Ljava/lang/Thread;
.source "BaseZMMobAgent.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/zuiapps/sdk/analytics/BaseZMMobAgent;->saveAnalyticsData(Landroid/content/Context;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic val$jsonStr:Ljava/lang/String;

.field final synthetic val$mContext:Landroid/content/Context;


# direct methods
.method constructor <init>(Ljava/lang/String;Landroid/content/Context;)V
    .registers 3

    .prologue
    .line 158
    iput-object p1, p0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$3;->val$jsonStr:Ljava/lang/String;

    iput-object p2, p0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$3;->val$mContext:Landroid/content/Context;

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .registers 5

    .prologue
    .line 161
    new-instance v0, Lcom/zuiapps/sdk/analytics/greendao/AnalysisModel;

    invoke-direct {v0}, Lcom/zuiapps/sdk/analytics/greendao/AnalysisModel;-><init>()V

    .line 162
    .local v0, "analysisModel":Lcom/zuiapps/sdk/analytics/greendao/AnalysisModel;
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/zuiapps/sdk/analytics/greendao/AnalysisModel;->setTime(Ljava/lang/Long;)V

    .line 163
    iget-object v1, p0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$3;->val$jsonStr:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/zuiapps/sdk/analytics/greendao/AnalysisModel;->setLogJsonStr(Ljava/lang/String;)V

    .line 164
    iget-object v1, p0, Lcom/zuiapps/sdk/analytics/BaseZMMobAgent$3;->val$mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/zuiapps/sdk/analytics/db/AnalyticsDBUtil;->getInstance(Landroid/content/Context;)Lcom/zuiapps/sdk/analytics/db/AnalyticsDBUtil;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/zuiapps/sdk/analytics/db/AnalyticsDBUtil;->updateAnalysisModel(Lcom/zuiapps/sdk/analytics/greendao/AnalysisModel;)V

    .line 165
    return-void
.end method
